<script>
export default {
  name: "Detail",
  data: function () {
    return {}
  },
  mounted() {
    console.log('@@@组件Detail接受到的参数：', this.$route.params);
  }
}
</script>

<template>
  <div>
    <h3>消息编号：{{ $route.params.id }}</h3>
    <h3>消息作者：{{ $route.params.author }}</h3>
    <h3>消息分类：{{ $route.params.category }}</h3>
    <h3>消息题目：{{ $route.params.origin }}</h3>
    <h3>消息内容：{{ $route.params.content }}</h3>
  </div>
</template>

<style scoped>

</style>